<template>
  <dynTable
    ref="dynTable"
    :loading="false"
    :table-data="tableList"
    :table-columns="tableColumns"
  />
</template>

<script>
export default {
  name: '',
  components: {},
  mixins: [],
  props: {
    tableList: {
      type: Array,
      default: () => ([])
    }
  },
  data() {
    return {
      tableColumns: [
        { prop: 'trackinStamp', label: 'trackIn 时间' },
        { prop: 'systemTime', label: '测试时间' },
        { prop: 'holdCode', label: 'mes hold 代码' },
        { prop: 'holdReason', label: 'mes hold 原因' },
        { prop: 'callMESHold', label: '是否call mes hold', templete: (_scope) => {
          return (
            <span>{ _scope.row.callMESHold === 0 ? 'not call mes hold' : 'call mes hold' }</span>
          )
        } }
      ]
    }
  }
}
</script>

<style scoped lang="scss"></style>
